// 提交状态枚举
export enum SubmissionStatus {
  PENDING = 'PENDING',           // 待审核
  TEACHER_REVIEWING = 'TEACHER_REVIEWING',  // 教师审核中
  APPROVED = 'APPROVED',         // 已通过
  REJECTED = 'REJECTED'          // 已驳回
}

// 提交记录
export interface TaskSubmissionVO {
  id: number
  taskId: number
  taskName: string
  studentId: number
  studentName: string
  fileUrl: string
  comment?: string
  submitTime: string
  status: SubmissionStatus
  reviewComment?: string
  reviewTime?: string
  reviewerId?: number
  reviewerName?: string
}

// 提交查询参数
export interface SubmissionQueryParams {
  taskId?: number
  studentId?: number
  studentName?: string
  status?: SubmissionStatus
  startTime?: string
  endTime?: string
  page?: number
  size?: number
  sort?: string
}

// 审核参数
export interface SubmissionReviewDTO {
  status: SubmissionStatus
  reviewComment?: string
}

export interface TaskSubmissionDTO {
  taskId: number;
  fileUrls: string[]; // Ensure fileUrls is an array of strings
  comment: string;
  avatar: string;
} 